package com.un.ebs.invoice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.un.ebs.invoice.domain.InvoiceNoteItemExt;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * (InvoiceNoteItemExt)表数据库访问层
 *
 * @author liubo
 * @since 2020-09-27 14:27:08
 */
public interface InvoiceNoteItemExtMapper extends BaseMapper<InvoiceNoteItemExt> {

    @Select("select * from v_invoice_note_item_ext where invoice_note_id=#{id}")
    List<InvoiceNoteItemExt> selectByNoteId(String id);
}